export type PersonApproveParams = {
  idCardNo: string;
  realName: string;
  idCardFront: string;
  idCardBack: string;
};

export type OrgApproveParams = {
  // owner: string;
  orgName: string;
  orgNo: string;
  orgImg: string;
};

export type UserUpdateParams = {
  avatar?: string;
  nickname?: string;
  desc?: string;
  sexual?: number;
};

export type BindParams = {
  js_code: string;
  appId: string;
  iv: string;
  encryptData: string;
};

export type BindPhoneParams = {
  js_code: string;
  appId: string;
  iv: string;
  encryptedData: string;
};

export type ApprovalStatus = {
  orgApprovalStatus: number;
  userApprovalStatus: number
}

export type AnchorsItem = {
  real_name: string;  //主播姓名
  to_user_id: string; //用户id
  avatar: string;  //头像
  desc: string; //个人描述  
  followStatus:boolean;
}

//关注机构列表参数
export type OrgsItem = {
  org_name: string;  //所属机构名称 
  to_org_id: string; //所属机构id
  org_logo: string;  //机构logo
  org_desc: string; //机构描述   
  orgFollowStatus: boolean;
  org_no:string;
}

//粉丝列表参数
export type FansItem = {
  nickName: string;  //粉丝昵称
  avatar: string; //粉丝头像 
}


 
// 套餐类型名称
export type PlansName = {
  title: string; 
}


// 获取软件
export type software = {
  id: string;
  softwareName: string;
}
// 套餐价格
export type softWarePrice = {
  priceTime: string;
  total: number;
  discount?: number;
  oldTotal?: number;
}

// 支付参数
export type subsOrderParam = {
  appId: string;  //小程序appId
  planId: string; //套餐Id
  amount: number;  //购买数量
}